package br.com.felix.fwt.ui.css;


/**
 * Represents a size measured as Percent.
 * For example: a HTML table with 100% width.
 */
public class PercentSize extends Size{

	/** The value. */
	public Integer value;
	
	/**
	 * Instantiates a new percent size.
	 * 
	 * @param value the value
	 */
	public PercentSize(Integer value) {
		this.value=value;
	}
	
	
	/**
	 * Returns the CSS value for the PercentSize.
	 * @return value concatenated with '%'.
	 */
	public String value(){
		return value.toString()+"%";
	}

}
